package com.ruoyi.wretchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办对象 meta_todo
 * 
 * @author 简简单单 Online zuozuo
 * @date 2021-08-15
 */
public class MetaTodo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    private Date gmtCreate;

    /**  */
    private Date gmtModified;

    /**  */
    private Long sort;

    /**  */
    private Integer deleted;

    /** 待办内容 */
    @Excel(name = "待办内容")
    private String todoValue;

    /** 触发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "触发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date todoTime;

    /** 待办类型 */
    @Excel(name = "待办类型")
    private Integer todoType;

    /** 重复类型 */
    @Excel(name = "重复类型")
    private Integer repeatType;

    /** 完成状态 */
    @Excel(name = "完成状态")
    private Long completionState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setTodoValue(String todoValue) 
    {
        this.todoValue = todoValue;
    }

    public String getTodoValue() 
    {
        return todoValue;
    }
    public void setTodoTime(Date todoTime) 
    {
        this.todoTime = todoTime;
    }

    public Date getTodoTime() 
    {
        return todoTime;
    }
    public void setTodoType(Integer todoType) 
    {
        this.todoType = todoType;
    }

    public Integer getTodoType() 
    {
        return todoType;
    }
    public void setRepeatType(Integer repeatType) 
    {
        this.repeatType = repeatType;
    }

    public Integer getRepeatType() 
    {
        return repeatType;
    }
    public void setCompletionState(Long completionState) 
    {
        this.completionState = completionState;
    }

    public Long getCompletionState() 
    {
        return completionState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .append("remark", getRemark())
            .append("sort", getSort())
            .append("deleted", getDeleted())
            .append("todoValue", getTodoValue())
            .append("todoTime", getTodoTime())
            .append("todoType", getTodoType())
            .append("repeatType", getRepeatType())
            .append("completionState", getCompletionState())
            .toString();
    }
}
